3.272 \(\int x^{7/2} (a+b x^2)^2 \, dx\)

Optimal. Leaf size=36 \[ \frac{2}{9} a^2 x^{9/2}+\frac{4}{13} a b x^{13/2}+\frac{2}{17} b^2 x^{17/2} \]

[Out]

(2*a^2*x^(9/2))/9 + (4*a*b*x^(13/2))/13 + (2*b^2*x^(17/2))/17

________________________________________________________________________________________

Rubi [A]  time = 0.008615, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {270} \[ \frac{2}{9} a^2 x^{9/2}+\frac{4}{13} a b x^{13/2}+\frac{2}{17} b^2 x^{17/2} \]

Antiderivative was successfully verified.

[In]

Int[x^(7/2)*(a + b*x^2)^2,x]

[Out]

(2*a^2*x^(9/2))/9 + (4*a*b*x^(13/2))/13 + (2*b^2*x^(17/2))/17

Rule 270

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*(a + b*x^n)^p,
 x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0]

Rubi steps

\begin{align*} \int x^{7/2} \left (a+b x^2\right )^2 \, dx &=\int \left (a^2 x^{7/2}+2 a b x^{11/2}+b^2 x^{15/2}\right ) \, dx\\ &=\frac{2}{9} a^2 x^{9/2}+\frac{4}{13} a b x^{13/2}+\frac{2}{17} b^2 x^{17/2}\\ \end{align*}

Mathematica [A]  time = 0.008592, size = 30, normalized size = 0.83 \[ \frac{2 x^{9/2} \left (221 a^2+306 a b x^2+117 b^2 x^4\right )}{1989} \]

Antiderivative was successfully verified.

[In]

Integrate[x^(7/2)*(a + b*x^2)^2,x]

[Out]

(2*x^(9/2)*(221*a^2 + 306*a*b*x^2 + 117*b^2*x^4))/1989

________________________________________________________________________________________

Maple [A]  time = 0.004, size = 27, normalized size = 0.8 \begin{align*}{\frac{234\,{b}^{2}{x}^{4}+612\,ab{x}^{2}+442\,{a}^{2}}{1989}{x}^{{\frac{9}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(7/2)*(b*x^2+a)^2,x)

[Out]

2/1989*x^(9/2)*(117*b^2*x^4+306*a*b*x^2+221*a^2)

________________________________________________________________________________________

Maxima [A]  time = 2.73022, size = 32, normalized size = 0.89 \begin{align*} \frac{2}{17} \, b^{2} x^{\frac{17}{2}} + \frac{4}{13} \, a b x^{\frac{13}{2}} + \frac{2}{9} \, a^{2} x^{\frac{9}{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(7/2)*(b*x^2+a)^2,x, algorithm="maxima")

[Out]

2/17*b^2*x^(17/2) + 4/13*a*b*x^(13/2) + 2/9*a^2*x^(9/2)

________________________________________________________________________________________

Fricas [A]  time = 1.43009, size = 78, normalized size = 2.17 \begin{align*} \frac{2}{1989} \,{\left (117 \, b^{2} x^{8} + 306 \, a b x^{6} + 221 \, a^{2} x^{4}\right )} \sqrt{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(7/2)*(b*x^2+a)^2,x, algorithm="fricas")

[Out]

2/1989*(117*b^2*x^8 + 306*a*b*x^6 + 221*a^2*x^4)*sqrt(x)

________________________________________________________________________________________

Sympy [A]  time = 11.4758, size = 34, normalized size = 0.94 \begin{align*} \frac{2 a^{2} x^{\frac{9}{2}}}{9} + \frac{4 a b x^{\frac{13}{2}}}{13} + \frac{2 b^{2} x^{\frac{17}{2}}}{17} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(7/2)*(b*x**2+a)**2,x)

[Out]

2*a**2*x**(9/2)/9 + 4*a*b*x**(13/2)/13 + 2*b**2*x**(17/2)/17

________________________________________________________________________________________

Giac [A]  time = 1.51576, size = 32, normalized size = 0.89 \begin{align*} \frac{2}{17} \, b^{2} x^{\frac{17}{2}} + \frac{4}{13} \, a b x^{\frac{13}{2}} + \frac{2}{9} \, a^{2} x^{\frac{9}{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(7/2)*(b*x^2+a)^2,x, algorithm="giac")

[Out]

2/17*b^2*x^(17/2) + 4/13*a*b*x^(13/2) + 2/9*a^2*x^(9/2)